// 
@btn-prefix: ~"@{prefix}btn";

// 基础按钮样式
.@{btn-prefix} {
    color: #4D4D4D;
    width: auto;
    height: 32px;
    line-height: 32px;
    padding: 0px 16px;
    margin: 0px;
    display: inline-block;
    _zoom: 1;
    _display: inline;
    
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;

    border-radius: @radius;
    border: none;
    background: #EBEBEB;
    background-image: linear-gradient(80deg, #EBEBEB, #D9D9D9);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);

    transition: all 300ms;
	-moz-transition: all 300ms;	/* Firefox 4 */
	-webkit-transition: all 300ms;	/* Safari 和 Chrome */
	-o-transition: all 300ms;	/* Opera */

}
.@{btn-prefix},
.@{btn-prefix}:hover,
.@{btn-prefix}:visited {
    text-decoration: none;
}
.@{btn-prefix}:hover {
    color: #4D4D4D;
    background-image: none;
    background-color: #EBEBEB;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.@{btn-prefix}:active {
    color: #4D4D4D;
    background-color: #D9D9D9;
    background-image: none;
	border: none;
	box-shadow: none;
}
// 色彩
.@{btn-prefix}-blue {
    color: #fff;
    border: none;
    background: #00aeff;
    background-image: linear-gradient(80deg, #00aeff, #3369e7);
}
.@{btn-prefix}-blue:hover {
    color: #fff;
    background: #00aeff;
    border: none;
    box-shadow: 0 4px 12px rgba(0,129,189,0.4);
}
.@{btn-prefix}-blue:active {
    color: #fff;
    background: #3369e7;
    border: none;
    box-shadow: none;
}
.@{btn-prefix}-green {
    color: #fff;
    border: none;
    background: #57da57;
    background-image: linear-gradient(80deg, #57da57, #13ce66);
}
.@{btn-prefix}-green:hover {
    color: #fff;
    background: #57da57;
    border: none;
    box-shadow: 0 4px 12px rgba(43,176,43,0.4);
}
.@{btn-prefix}-green:active {
    color: #fff;
    background: #13ce66;
    border: none;
    box-shadow: none;
}
.@{btn-prefix}-red {
    color: #fff;
    border: none;
    background: #ff4949;
    background-image: linear-gradient(80deg, #ff4949, #d12e1f);
}
.@{btn-prefix}-red:hover {
    color: #fff;
    background: #ff4949;
    border: none;
    box-shadow: 0 4px 12px rgba(201,31,31,0.4);
}
.@{btn-prefix}-red:active {
    color: #fff;
    background: #d12e1f;
    border: none;
    box-shadow: none;
}
.@{btn-prefix}-orange {
    color: #fff;
    border: none;
    background: #ff5e00;
    background-image: linear-gradient(80deg, #ff5e00, #df3b00);
}
.@{btn-prefix}-orange:hover {
    color: #fff;
    background: #ff5e00;
    border: none;
    box-shadow: 0 4px 12px rgba(232,127,22,0.4);
}
.@{btn-prefix}-orange:active {
    color: #fff;
    background: #df3b00;
    border: none;
    box-shadow: none;
}
.@{btn-prefix}-yellow {
    color: #fff;
    border: none;
    background: #ffbb00;
    background-image: linear-gradient(80deg, #ffbb00, #f7ac16);
}
.@{btn-prefix}-yellow:hover {
    color: #fff;
    background: #ffbb00;
    border: none;
    box-shadow: 0 4px 12px rgba(232,127,22,0.4);
}
.@{btn-prefix}-yellow:active {
    color: #fff;
    background: #f7ac16;
    border: none;
    box-shadow: none;
}
.@{btn-prefix}-purple {
    color: #fff;
    border: none;
    background: #7979f8;
    background-image: linear-gradient(80deg, #7979f8, #6952db);
}
.@{btn-prefix}-purple:hover {
    color: #fff;
    background: #7979f8;
    border: none;
    box-shadow: 0 4px 12px rgba(66,66,208,0.4);
}
.@{btn-prefix}-purple:active {
    color: #fff;
    background: #6952db;
    border: none;
    box-shadow: none;
}
.@{btn-prefix}-cyan {
    color: #fff;
    border: none;
    background: #1cc7d0;
    background-image: linear-gradient(284deg, #1cc7d0, #2dde98);
}
.@{btn-prefix}-cyan:hover {
    color: #fff;
    background: #2dde98;
    border: none;
    box-shadow: 0 4px 12px rgba(16,171,179,0.4);
}
.@{btn-prefix}-cyan:active {
    color: #fff;
    background: #1cc7d0;
    border: none;
    box-shadow: none;
}


.@{btn-prefix}-link,
.@{btn-prefix}-link:hover,
.@{btn-prefix}-link:visited {
    padding: 0px 5px;
    text-decoration: none;
    font-weight: normal;
    background: none;
    background-image: none;
    border: 0px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.@{btn-prefix}-link:hover {
    color: #00aeff!important;
    text-decoration: underline;
}
.@{btn-prefix}-disabled {
    border-bottom-color: #ccc;
    background-image: none;
    background-color: #ccc!important;
    cursor: not-allowed;
}
.@{btn-prefix}-disabled,
.@{btn-prefix}-disabled:hover,
.@{btn-prefix}-disabled:visited {
    color: #ccc !important;
    background-color: #f2f2f2!important;
    background-repeat: repeat-x;
    box-shadow: none;
	cursor: not-allowed;
}
.@{btn-prefix}-close {
	float: right;
	font-size: 21px;
	font-weight: bold;
	line-height: 1;
	color: #000;
	text-shadow: 0 1px 0 #fff;
	-webkit-appearance: none;
	padding: 0;
	cursor: pointer;
	background: transparent;
	border: 0;
	filter: alpha(opacity=20);
	opacity: .2;
	transition: linear 0.1s;
}
.@{btn-prefix}-close:hover,
.@{btn-prefix}-close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
	filter: alpha(opacity=50);
	opacity: .5;
}
// 款式
.@{btn-prefix}-circle {
    border-radius: 16px;
    padding: 0px 24px;
}
.@{btn-prefix}-nocircle {
    border-radius: 0;
}
.@{btn-prefix}-block {
    display: block;
    width: 100%;
    box-sizing: border-box;
}


.@{btn-prefix} i {
    float: left;
    margin-top: 8px;
}
.@{btn-prefix} i,
.@{btn-prefix} .fa {
    margin-right: 5px;
}

.@{btn-prefix}-group .@{btn-prefix} {
    float: left;
    border-radius: 0;
    border-left-width: 0;
    margin: 0px;
}
.@{btn-prefix}-group .@{btn-prefix}:first-child {
    border-left-width: 1px;
    border-radius: @radius 0 0 @radius;
}
.@{btn-prefix}-group .@{btn-prefix}:last-child {
    border-radius: 0 @radius @radius 0;
}

// 尺寸
@h52: 52px;
.@{btn-prefix}-h52 {
    height: @h52;
    line-height: @h52;
    font-size: 20px;
}
.@{btn-prefix}-h52.@{btn-prefix}-radius {
    border-radius: @h52/2;
}
@h44: 44px;
.@{btn-prefix}-h44 {
    height: @h44;
    line-height: @h44;
    font-size: 16px;
}
.@{btn-prefix}-h44.@{btn-prefix}-radius {
    border-radius: @h44/2;
}
@h36: 36px;
.@{btn-prefix}-h36 {
    height: @h36;
    line-height: @h36;
    font-size: 14px;
}
.@{btn-prefix}-h36.@{btn-prefix}-radius {
    border-radius: @h36/2;
}
@h26: 26px;
.@{btn-prefix}-h26 {
    height: @h26;
    line-height: @h26;
    font-size: 12px;
}
.@{btn-prefix}-h26.@{btn-prefix}-radius {
    border-radius: @h26/2;
}
@mini: 24px;
.@{btn-prefix}-mini,
.@{btn-prefix}-h24 {
    height: @mini;
    line-height: @mini;
    font-size: 12px;
}
.@{btn-prefix}-h36.@{btn-prefix}-radius {
    border-radius: @mini/2;
}